#pragma once
#include <iostream>
#include <vector>
#include <string>

#include "Triple.h"
using namespace std;

typedef int INTEGER;
typedef int INDEX;
typedef bool BOOLEAN;



class Calls{
private:
	vector<Triple> _table;
	INTEGER _size;
public:
	Calls();
    BOOLEAN setCall(INDEX procLine, INDEX pro1, INDEX pro2);
	vector <Triple> getCalls();
	int getCallSize();	
	vector<INDEX> getLineNum(INDEX por1);
	vector<INDEX> getCallee(INDEX pro1);
    vector<INDEX> getCaller(INDEX pro2);	
	INDEX getCallerFromLineNum(INDEX procLine);
	INDEX getCalleeFromLineNum(INDEX procLine);
	BOOLEAN isCall(INDEX pro1, INDEX pro2);
	BOOLEAN isCallStatement(INDEX procLine);
};